<?php

use yii\helpers\Html;
use yii\widgets\DetailView;


$this->title = '城市三字代码';
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'City Codes'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="city-code-view">

   <div class="box">
        <div class="box-header">
            <?= Html::a(Yii::t('app', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        </div>
        <div class="box-body">
            <?= DetailView::widget([
                'model' => $model,
                'attributes' => [
                    //'id',
                    'code',
                    'zh_name',
                    'en_name',
                ],
            ]) ?>
        </div>
    </div>

</div>
